<%@page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<%String path = request.getContextPath(); String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()	+ path + "/";%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<base href="<%=basePath%>">
		<title><s:text name="sys.app_title" /></title>
		<%@include file="../include/contentheader.jsp"%>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
		<script type="text/javascript" src="js/app.js"></script>
		<link rel="stylesheet" type="text/css" href="css/main.css" />
		<link rel="stylesheet" type="text/css" href="css/dtree.css" />
		<script type="text/javascript" src="js/dtree.js"></script>
		<script type="text/javascript" src="dwr/engine.js"></script>
		<script type="text/javascript" src="dwr/util.js"></script>
		<script type="text/javascript" src="dwr/interface/departmentDwrJs.js"></script>
		<script type="text/javascript" src="js/dep.js"></script>
		<link rel="stylesheet" href="css/dep.css" type="text/css" />
		
		<script type="text/javascript">
			function doOk(){
				if(window.returnValue == undefined){
					window.returnValue = document.getElementById("ideaValue").value;
				}
				window.close();
			}
			function doCancel(){
				window.returnValue = null;
				window.close();
			}
		</script>
	</head>

	<body style="padding-top:5px;">
		<div class="mainContainer">
			<div class="headerTitle">请输入审批原因</div>
			<div><textarea id="ideaValue" cols="35" rows="10"></textarea></div>
			<div style="margin-top: 20px;">
				<input type="button" onclick="doOk();" value="确定" />&nbsp;&nbsp;&nbsp;&nbsp;
				<input type="button" onclick="doCancel();" value="取消" />
			</div>
		</div>
	</body>
</html>